<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" lang="zh-cn"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="studyDemo"/>
    <meta name="author" content="studylw"/>
    <link rel="icon" href="/static/img/favicon.ico" th:href="@{/img/favicon.ico}"/>

    <title>主页</title>

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="../static/plugins/bootstrap/css/bootstrap.css"
          th:href="@{/plugins/bootstrap/css/bootstrap.css}"/>
    <!-- AdminLTE -->
    <link rel="stylesheet" href="../static/plugins/AdminLTE/css/AdminLTE.css"
          th:href="@{/plugins/AdminLTE/css/AdminLTE.css}"/>
    <!-- FontAwesome -->
    <link rel="stylesheet" href="../static/plugins/fontAwesome/css/font-awesome.css"
          th:href="@{/plugins/fontAwesome/css/font-awesome.css}"/>

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link rel="stylesheet" href="../static/plugins/css/ie10-viewport-bug-workaround.css"
          th:href="@{/plugins/css/ie10-viewport-bug-workaround.css}"/>

    <!-- Custom styles for this template -->
    <link rel="stylesheet" href="../static/css/signin.css" th:href="@{/css/signin.css}"/>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../static/plugins/js/html5shiv.min.js"
            th:src="@{/plugins/js/html5shiv.min.js}"></script>
    <script type="text/javascript" src="../static/plugins/js/respond.min.js"
            th:src="@{/plugins/js/respond.min.js}"></script>
    <![endif]-->
</head>

<body>
<div class="wrapper">
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Main content -->
        <section class="content">
            <!-- row -->
            <div class="row">
                <div class="col-xs-12">
                    <!-- jQuery Knob -->
                    <div class="box box-solid">
                        <div class="box-header">
                            <i class="fa fa-bar-chart-o"></i>

                            <h3 class="box-title">jQuery Knob</h3>

                            <div class="box-tools pull-right">
                                <button type="button" class="btn btn-default btn-sm" data-widget="collapse"><i
                                        class="fa fa-minus"></i>
                                </button>
                                <button type="button" class="btn btn-default btn-sm" data-widget="remove"><i
                                        class="fa fa-times"></i>
                                </button>
                            </div>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <div class="row">
                                <div class="col-xs-12 col-md-6 text-center">
                                    <canvas id="canvas"></canvas>
                                </div>
                                <!-- ./col -->
                            </div>
                            <!-- /.row -->
                        </div>
                        <!-- /.box-body -->
                    </div>
                    <!-- /.box -->
                    <button class="btn btn-danger" id="randomizeData">Randomize Data</button>
                </div>
            </div>
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

</div>
<!-- ./wrapper -->

<!-- General JavaScript -->
<!-- jquery.js -->
<script type="text/javascript" src="../static/plugins/js/jquery-3.1.1.min.js"
        th:src="@{/plugins/js/jquery-3.1.1.min.js}"></script>

<!--Bootstrap-->
<script type="text/javascript" src="../static/plugins/bootstrap/js/bootstrap.min.js"
        th:src="@{/plugins/bootstrap/js/bootstrap.min.js}"></script>

<!--AdminLTE-->
<script type="text/javascript" src="../static/plugins/AdminLTE/js/app.js"
        th:src="@{/plugins/AdminLTE/js/app.js}"></script>

<!--ChartJs-->
<script type="text/javascript" src="../static/plugins/ChartJs/Chart.js" th:src="@{/plugins/ChartJs/Chart.js}"></script>
<script type="text/javascript" src="../static/plugins/ChartJs/Chart.bundle.js"
        th:src="@{/plugins/ChartJs/Chart.bundle.js}"></script>
<script type="text/javascript" src="../static/plugins/ChartJs/utils.js" th:src="@{/plugins/ChartJs/utils.js}"></script>

<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script type="text/javascript" src="../static/plugins/js/ie10-viewport-bug-workaround.js"
        th:src="@{/plugins/js/ie10-viewport-bug-workaround.js}"></script>

<!--custom js file-->
<script type="text/javascript" src="../static/js/home.js" th:src="@{/js/home.js}"></script>
<script>
    window.onload = function () {
        canvasLoadData();
    };
</script>
</body>
</html>